package com.asia5b.a5mall.middleware.model.order

import com.asia5b.a5mall.middleware.model.base.BaseModel
import com.google.gson.annotations.SerializedName
import java.io.Serializable

/**
 * Created by zhangyuncai on 2020/1/6.
 * 获取结算参数
 */
class OrderCheckParamsModel : BaseModel() {
    /**地址Id*/
    @SerializedName(value = "addressId", alternate = ["address_id"])
    var addressId = 0

    /**支付方式*/
    @SerializedName(value = "paymentType", alternate = ["payment_type"])
    val paymentType = ""


    /**发票*/
    val receipt: ReceiptModel? = null

    /**配送时间*/
    @SerializedName(value = "receiveTime", alternate = ["receive_time"])
    val receiveTime = ""


    /**留言*/
    val remark: String? = null

    //上次的交易设备端类型
    var client_type = ""

    //上次选择的运输方式
    var goodscata_id = ""

    var region_id = 0
}
/*
{
    "address_id": 238,
    "payment_type": "ONLINE",
    "receipt": null,
    "receive_time": "任意时间",
    "remark": "",
    "client_type": "PC",
    "goodscata_id": "",
    "region_id": 49
}
 */